package com.xqb.modules.domain.po;

import com.xqb.common.annotation.Excel;
import com.xqb.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程分类关系对象 les_subject_category
 * 
 * @author xqb
 * @date 2024-10-14
 */
public class LesSubjectCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题目id */
    @Excel(name = "题目id")
    private Long subjectId;

    /** 一级课程分类id */
    @Excel(name = "一级课程分类id")
    private Long firstCateId;

    /** 二级课程分类id */
    @Excel(name = "二级课程分类id")
    private Long secondCateId;

    /** 三级课程分类id */
    @Excel(name = "三级课程分类id")
    private Long thirdCateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setFirstCateId(Long firstCateId) 
    {
        this.firstCateId = firstCateId;
    }

    public Long getFirstCateId() 
    {
        return firstCateId;
    }
    public void setSecondCateId(Long secondCateId) 
    {
        this.secondCateId = secondCateId;
    }

    public Long getSecondCateId() 
    {
        return secondCateId;
    }
    public void setThirdCateId(Long thirdCateId) 
    {
        this.thirdCateId = thirdCateId;
    }

    public Long getThirdCateId() 
    {
        return thirdCateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectId", getSubjectId())
            .append("firstCateId", getFirstCateId())
            .append("secondCateId", getSecondCateId())
            .append("thirdCateId", getThirdCateId())
            .toString();
    }
}
